using System;
using PlugNT.Cms.Page;

namespace PlugNT.Cms.Web.Admin
{
    public partial class Pre_LogOut : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (this.Session[PlugNT.Cms.Custom.KeyFlags.SessionAdminer] != null)
            {
                this.Session.Remove(PlugNT.Cms.Custom.KeyFlags.SessionAdminer);
                Response.Redirect("./Login.aspx");
            }
            else
            {
                Response.Redirect("./Login.aspx");
            }
        }
    }
}

